package com.qufenqi.pay.abs.common;

public class CommConstant {
    public static class Sys {

        public final static Integer sys_qufenqi_no = 23;
        public final static Integer sys_init_no = 0;
        // 0 有效 1 无效
        public final static String sys_status_effective = "0";
        public final static String sys_status_invalid = "1";

        // 0 有效 1 无效
        public final static Integer sys_status_effective_int = 0;
        public final static Integer sys_status_invalid_int = 1;
        // 系统返回码 00 成功 01 失败
        public final static String sys_return_code_sucess = "00";
        public final static String sys_return_code_falure = "01";

        // 超级管理员 角色 代码 -1
        public final static String sys_super_role_code = "-1";
        public final static int sys_super_role_code_int = -1;
        public final static String sys_super_role_name = "系统";

        //资金变动方向 0 增加 1 减少
        public final static String in = "0";
        public final static String out = "1";

        // 线程参数 type
        public final static String thread_param_type = "thread_type";
        // 线程执行批处理 每批次限制 code
        public final static String thread_param_code = "thread_once_limit";

        // 参数类型 type organization_business_type 业务类型 special_status 专项计划状态
        public final static String business_param_type = "organization_business_type";
        public final static String special_status_param_type = "special_status";
        public final static String organization_param_type_type = "organization_type";
        public final static String organization_param_prop_type = "organization_prop";
        public final static String organization_param_busstype_type = "organization_business_type";
        public final static String profit_sharing_system_URL_type = "profit_sharing_system_URL_type"; //分润系统通知地址

        // 手动筛选操作类型
        public final static String handfilter_op_type = "handfilter_operatetype";
        // 3位0系统占位符
        public final static String three_Zero_ = "000";

        public final static Integer MAX_ROWS = 1000;
        public static int perthreadcount = 8000;// 每个线程任务处理最大记录数
        public static int markandpoolcount = 15000;// 打标入池任务缓冲池最大容量
        public static int markandpooltaskincount = 16000;// 打标入池任务 缓冲从进入量
        public static int taskhandlecount = 2000;// 打标入池子任务 处理记录数
        public static int exportCSVTaskinCount = 10000;// 导出CSV记录任务 缓冲从进入量

        public static int p2p_markandpooltaskincount = 4000;// 打标入池任务 缓冲从进入量
        public static int p2p_taskhandlecount = 100;// 打标入池子任务 处理记录数
        public static final Integer DEFAULT_POOL_SIZE = 4;
        //HTTP 请求状态码
        public static String sys_http_error_code = "-1";
        public static String sys_http_error_msg = "网络开小差,刷新后重试";
        public static String sys_http_success_code = "1";
        public static String sys_http_success_msg = "请求成功";
        public static String sys_http_save_success_msg = "保存成功";
        public static String sys_http_update_success_msg = "更新成功";

        public static String sys_http_error_msg_payarea_notnull = "订单归属不能为空";
        public static String sys_http_error_msg_orderType_notnull = "订单类型不能为空";
        public static String sys_http_error_msg_pushMarkNum_notnull = "推标期数不能为空";
        public static String sys_http_error_msg_preAmountTotal_notnull = "推总金额不能为空";
        public static String sys_http_error_msg_firstDeadline_notnull = "推标首期账单日区间填写不完整";
        public static String sys_http_error_msg_id_notnull = "id不能为空";
        public static String sys_http_error_msg_p2pPlatform_notnull = "推标平台名称不能为空";
        public static String sys_http_error_msg_daily_notnull = "日期转化率不能为空";
        public static String sys_http_error_msg_packAge_notnull = "请选择否需要账单维度推标表";
        public static String sys_http_error_msg_pushMark_notnull = "请选择否可推标";
        public static String sys_http_error_msg_businessType_notnull = "请选择业务线";
        public static String sys_http_error_msg_platForm_notnull = "请选推择标平台";
        public static String sys_http_error_msg_shaixuanTotal_notnull = "筛选总金额不能为空";
        public static String sys_http_error_msg_redeemDay_notnull = "赎回日期不能为空";
        public static String sys_http_error_msg_p2pRepayDay_notnull = "P2P还款日期不能为空";
        public static String sys_http_error_msg_package_isnotfind = "包不存在";

    }

    public static class Common {
        // 0 有效 1 无效
        public final static String comm_status_effective = "0";
        public final static String comm_status_invalid = "1";
        public final static int status_effective = 0;
        public final static int status_invalid = 1;

        public final static Integer comm_system_operater_userid = -1;
        public final static String comm_system_operater_name = "系统";
        //p2p生成csv文件时 是否使用 一列用到
        public final static String comm_status_YES = "Y";
        public final static String comm_status_No = "N";


    }

    public static class Business {
        // 业务类型
        // 增量,失效
        public final static Integer business_type_zl_sx = 1;
        // 逾期,还款
        public final static Integer business_type_yq_hk = 2;
        // 已还款完成
        public final static Integer business_type_repayed = 3;
        // 已还款完成描述
        public final static String business_type_repayed_str = "还款捞取";
        // 循环购买
        public final static Integer business_type_cycleBuy = 4;
        // 循环购买描述
        public final static String business_type_cycleBuy_str = "循环购买";
        // 入池
        public final static Integer business_type_input_pool = 5;
        // 入池描述
        public final static String business_type_input_pool_str = "入池";
        //6逾期捞取 7逾期置换 8失效置换 9 失效捞取
        public final static Integer business_type_overdue_fetch = 6;
        public final static String business_type_overdue_fetch_str = "逾期捞取";
        public final static Integer business_type_overdue_swap = 7;
        public final static String business_type_overdue_swap_str = "逾期置换";
        public final static Integer business_type_invalid_swap = 8;
        public final static String business_type_invalid_swap_str = "失效置换";
        public final static Integer business_type_invalid_fetch = 9;
        public final static String business_type_invalid_fetch_str = "失效捞取";
        public final static Integer business_type_sp_modifyStatus = 10;
        public final static String business_type_sp_modifyStatus_str = "计划状态修改";
        // 初始池 0 有效 1 无效
        public final static String pool_status_effective = "0";
        public final static String pool_status_invalid = "1";

        /*
        * 1 循环购买，2 分配期，3 已完结 执行还款捞取，
        * 1 循环购买，执行 循环购买捞数和循环购买入池（2 分配期，3 已完结 不执行 循环购买捞数和入池）
        * 1 循环购买，2 分配期 执行 失效捞取，失效置换，失效入池，逾期捞取，逾期置换，逾期入池。
        * */
        // 专项计划 0 待开始，1 循环购买，2 分配期，3 已完结：清算日加一天 4 作废 5 已关闭：清算日加两天 6已发行:循环购买前天'
        public final static String special_plan_status_wait = "0";
        public final static String special_plan_status_recycle = "1";
        public final static String special_plan_status_distribute = "2";
        public final static String special_plan_status_finish = "3";
        public final static String special_plan_status_delete = "4";
        public final static String special_plan_status_finish_end = "5";
        public final static String special_plan_status_issued = "6";


        // 专项计划 资本计算方式 0 本金 1 本息
        public final static String special_plan_calculMethod_capital = "0";
        public final static String special_plan_calculMethod_capitalandprofit = "1";

        // 专项计划 条件常量 0 选中排除逾期订单条件 1 不选中
        public final static String special_plan_condition_isexclude_overnow = "0";
        public final static String special_plan_condition_isexclude_overnow_no = "1";

        // 债权优先条件类型 0 规则一 1 规则二
        public final static String debt_prior_condition_type_rule1 = "0";
        public final static String debt_prior_condition_type_rule2 = "1";
        // 债权优先条件结束日期类型 0 清算日 1 摊还期 2 结束日
        public final static String debt_prior_condition_datetype_qingsuanri = "0";
        public final static String debt_prior_condition_datetype_tanhuanqi = "1";
        public final static String debt_prior_condition_datetype_jieshuri = "2";

        //债权状态 0 有效 1 无效
        public final static String debt_status_effect = "0";
        public final static String debt_status_invalid = "1";

        // 账户类型标志 1 税金账户 2 费用账户 3 收益账户 4 循环账户
        public final static int vitrualAccount_type_tax = 1;
        public final static int vitrualAccount_type_fee = 2;
        public final static int vitrualAccount_type_profit = 3;
        public final static int vitrualAccount_type_recycle = 4;
        public final static int vitrualAccount_type_gj = 5;


        // 还款周期 0 季度
        public final static String vitrualAccount_repay_type_jidu = "0";

        // 手动筛选资产 状态常量  0 新建 1 打标成功 10 打标失败 2 捞取成功 20 捞取失败 3 剔除成功 30 剔除失败
        // 4 作废成功 40 作废失败 41已作废任务 5 入池 6 失效置换新建  7 失效置换打标成功  70 失效置换打标失败
        // 8循环购买初始化 9循环购买打标成功  90循环购买打标失败 11 逾期置换新建 12 逾期置换打标成 13 逾期置换打标失败',
        public final static String handfilter_status_new = "0";
        public final static String handfilter_status_mark_success = "1";
        public final static String handfilter_status_mark_faild = "10";
        public final static String handfilter_status_get_success = "2";
        public final static String handfilter_status_get_faild = "20";
        public final static String handfilter_status_delete_success = "3";
        public final static String handfilter_status_delete_faild = "30";
        public final static String handfilter_status_cancel_success = "4";
        public final static String handfilter_status_cancel_faild = "40";
        public final static String handfilter_status_cancel_child = "41";
        public final static String handfilter_status_cancel_exec = "42";
        public final static String handfilter_status_inpool = "5";
        public final static String handfilter_status_invalid_new = "6";
        public final static String handfilter_status_invalid_get_success = "7";
        public final static String handfilter_status_cycle_buyinmark_init = "8";
        public final static String handfilter_status_cycle_buying_mark_success = "9";
        public final static String handfilter_status_cycle_buying_mark_faild = "90";
        public final static String handfilter_status_invalid_get_faild = "70";
        public final static String handfilter_status_overdue_new = "11";
        public final static String handfilter_status_overdue_get_success = "12";
        public final static String handfilter_status_overdue_get_faild = "13";
        public final static String handfilter_status_rebut_new = "14";

        // 手动筛选资产 操作类型常量 0 批量入池 1 导出 2 整批作废 3 批量剔除 4 驳回 5 循环购买 6失效置换 7 逾期置换
        public final static int handfilter_operatetype_batchin = 0;
        public final static int handfilter_operatetype_out = 1;
        public final static int handfilter_operatetype_allBatchDelete = 2;
        public final static int handfilter_operatetype_batchclear = 3;
        public final static int handfilter_operatetype_rebut = 4;
        public final static int handfilter_operatetype_cycle_buy = 5;
        public final static int handfilter_operatetype_invalid = 6;
        public final static int handfilter_operatetype_overdue = 7;

        // 手动筛选资产 变动方向 0 增加 1 减少
        public final static String handfilter_orient_in = "0";
        public final static String handfilter_orient_out = "1";

        // 资产池 变动方向 0 增加 1 减少
        public final static String asset_orient_in = "0";
        public final static String asset_orient_out = "1";

        // 资产池 操作 0 系统 1 手动
        public final static String asset_operatetype_sys = "0";
        public final static String asset_operatetype_handle = "1";

        // 循环购买审核 1 循环购买
        public final static String cycle_buying_purchase_type_cycle_buy = "使用循环购买户";
        // 资产池 状态 0 new 1 shibai 2 chenggong
        public final static int asset_status_new = 0;
        public final static int asset_status_falure = 1;
        public final static int asset_status_success = 2;

        // 数据来源类型 0 趣分期 1 来分期
        public final static int datasource_qufenqi = 0;
        public final static int datasource_laifenqi = 1;

        // 打标p2pplatform字段 2 成功 0 取消
        public final static int mark_p2pplatform_ok = 23;
        public final static int mark_p2pplatform_cancel = 0;

        // 资产池 状态常量 0导出待入，1已入池 2逾期赎回 3失效赎回 4批量剔除 5整批作废 6 导出账单异常的订单
        public final static int pooldatas_status_preinpool = 0;
        public final static int pooldatas_status_inpool = 1;
        public final static int pooldatas_status_overdate = 2;
        public final static int pooldatas_status_invalid = 3;
        public final static int pooldatas_status_inblack = 4;
        public final static int pooldatas_status_removeall = 5;
        public final static int pooldatas_status_error = 6;

        // 账单支付状态 1未支付 2 已支付
        public final static byte billdatas_paystatus_notpay = 1;
        public final static byte billdatas_paystatus_pay = 2;

        // 状态 0 待确认 1 已驳回 2 已入池 3 处理中
        public final static int cyclebuyingaudit_status_pre = 0;
        public final static int cyclebuyingaudit_status_rebut = 1;
        public final static int cyclebuyingaudit_status_handling = 3;
        public final static int cyclebuyingaudit_status_inpool = 2;

        // 账单逾期扫描标志 0 未处理 1 已处理
        public final static int billdatas_overdate_mark_unhandle = 0;
        public final static int billdatas_overdate_mark_handled = 1;

        // 账单逾期扫描标志 0 未处理 1 已处理 2同步失败
        public final static int blacklist_status_unhandle = 0;
        public final static int blacklist_status_handled = 1;
        public final static int blacklist_status_handledfailure = 2;

        public final static int cycle_buying_audit_export_type_auto = 1;
        public final static int cycle_buying_audit_export_type_hand = 0;

        public final static int cycle_buying_audit_status_wait_confirm = 0;
        public final static int cycle_buying_audit_status_refuse = 1;
        public final static int cycle_buying_audit_status_input = 2;
        public final static int cycle_buying_audit_status_dealing = 3;

        // bill_data定时扫描状态
        public final static int bill_data_scaned = 1;

        // 记账类型标志 0 不记账 1 普通记账 2 逾期 3 失效
        public final static String account_Nowrite = "0";
        public final static int account_Nowrite_int = 0;
        public final static String account_write = "1";
        public final static String account_overdue = "2";
        public final static String account_dismiss = "3";

        //数据 type  类型 0 失效置换 1 逾期置换
        public final static int datas_swap_type_dismiss = 0;
        public final static int datas_swap_type_overdue = 1;

        //机构类型 0 原始权益方  1 计划管理方
        public final static String comm_organization_type_ysqy = "0";
        public final static String comm_organization_type_jhgl = "1";

        //资产筛选条件 0 生效 1 失效
        public final static String plan_condition_status_effective = "0";
        public final static String plan_condition_status_invaild = "1";

        //任务 type  类型  1 执行筛选
        public final static int plan_task_type_execfilter = 1;
        public final static String plan_task_des_execfilter = "执行筛选";
        public final static int plan_task_type_batchClear = 2;
        public final static String plan_task_des_batchClear = "批量剔除";
        public final static int plan_task_type_batchCancel = 3;
        public final static String plan_task_des_batchCancel = "整批作废";
        public final static int plan_task_type_batchinpool = 4;
        public final static String plan_task_des_batchinpool = "批量入池";
        public final static int plan_task_type_judgeRebut = 5;
        public final static String plan_task_des_judgeRebut = "驳回类型不正确";
        public final static int plan_task_type_overdueget = 6;
        public final static String plan_task_des_overdueget = "逾期捞取";
        public final static int plan_task_type_overdueswap = 7;
        public final static String plan_task_des_overdueswap = "逾期置换";
        public final static int plan_task_type_invalidget = 8;
        public final static String plan_task_des_invalidget = "失效捞取";
        public final static int plan_task_type_invalidswap = 9;
        public final static String plan_task_des_invalidswap = "失效置换";
        public final static int plan_task_type_overdueinpool = 10;
        public final static String plan_task_des_overdueinpool = "逾期入池";
        public final static int plan_task_type_invalidinpool = 11;
        public final static String plan_task_des_invalidinpool = "失效入池";
        public final static int plan_task_type_invalidjudgeRebut = 12;
        public final static String plan_task_des_invalidjudgeRebut = "失效驳回";
        public final static int plan_task_type_cycleinpool = 13;
        public final static String plan_task_des_cycleinpool = "循环购买入池";
        public final static int plan_task_type_overduejudgeRebut = 14;
        public final static String plan_task_des_overduejudgeRebut = "逾期驳回";
        public final static int plan_task_type_cyclejudgeRebut = 15;
        public final static String plan_task_des_cyclejudgeRebut = "循环购买驳回";
        public final static int plan_task_type_repay = 16;
        public final static String plan_task_des_repay = "还款捞取";
        public final static int plan_task_type_cycleswap = 17;
        public final static String plan_task_des_cycleswap = "循环购买";
        public final static int plan_task_type_overdueget_t = 20;
        public final static String plan_task_des_overdueget_t = "定时逾期捞取";
        public final static int plan_task_type_overdueswap_t = 21;
        public final static String plan_task_des_overdueswap_t = "定时逾期置换";
        public final static int plan_task_type_invalidget_t = 22;
        public final static String plan_task_des_invalidget_t = "定时失效捞取";
        public final static int plan_task_type_invalidswap_t = 23;
        public final static String plan_task_des_invalidswap_t = "定时失效置换";
        public final static int plan_task_type_overdueinpool_t = 24;
        public final static String plan_task_des_overdueinpool_t = "定时逾期入池";
        public final static int plan_task_type_invalidinpool_t = 25;
        public final static String plan_task_des_invalidinpool_t = "定时失效入池";
        public final static int plan_task_type_cycleinpool_t = 26;
        public final static String plan_task_des_cycleinpool_t = "循环购买入池";
        public final static int plan_task_type_cycleswap_t = 27;
        public final static String plan_task_des_cycleswap_t = "定时循环购买";
        public final static int plan_task_type_mark_t = 28;
        public final static String plan_task_des_mark_t = "定时打标捞取";
        public final static int plan_task_type_batchClear_t = 29;
        public final static String plan_task_des_batchClear_t = "定时批量剔除";

        public final static int plan_task_type_dairuchi = 30;
        public final static String plan_task_des_dairuchi = "待入池总资产csv明细生成";
        public final static int plan_task_type_zichanchi = 31;
        public final static String plan_task_des_zichanchi = "资产池总资产csv明细生成";

        public final static int plan_task_type_provinceproportion_t = 32;
        public final static String plan_task_des_provinceproportion_t = "待入池执行省份占比";

        public final static int plan_task_type_batchCancel_t = 33;
        public final static String plan_task_des_batchCancel_t = "定时补充整批作废";


        //mock常量
        public final static String mock_type = "mock";
        public final static String mock_name = "mock";
        public final static String mock_code_mock = "0";


        //ftp常量
        public final static String ftp_type = "ftp";
        public final static String ftp_code = "0";

        public final static String ftp_remotepsth_type = "ftp_remotepath";
        public final static String ftp_remotepsth_code = "0";
        public final static String ftp_p2p_remote_path = "/data/p2p";


        //TO DO 邮件相关
        public final static String mail_subject_screening_result = "mail_type_screening_result";
        public final static String mail_subject_screening_result_key1 = "计划ID";
        public final static String mail_subject_screening_result_key2 = "生成待入池占比结果";

        /**
         * 告警 邮件模板
         */
        public final static String mail_subject_warning_result = "mail_type_warning_result";
        /**
         * 异常消息
         */
        public final static String mail_subject_warning_result_errorMessage = "mail_type_warning_result_error_message";
        /**
         * 当前执行的方法名,或者业务名称
         */
        public final static String mail_subject_warning_result_business_name = "mail_type_warning_result_business_name";


        //csv状态常量 1新建 2 生成中 3 成功  4 失败
        public final static int taskcsv_status_new = 1;
        public final static int taskcsv_status_handle = 2;
        public final static int taskcsv_status_success = 3;
        public final static int taskcsv_status_failure = 4;

        //export_ province_task 表状态常量 1新建 2 处理中 3 成功  4 失败
        public final static int taskprovince_status_new = 1;
        public final static int taskprovince_status_handle = 2;
        public final static int taskprovince_status_success = 3;
        public final static int taskprovince_status_failure = 4;

        //export_ province_task 表export_type常量 1待入池 2已入池
        public final static int exportprovincetask_export_type_prepool = 1;
        public final static int exportprovincetask_export_type_inputpool = 2;


        //ftp导出参数常量
        public final static String ftp_export_type_export_all_dairu = "export_all_dairu";
        public final static String ftp_export_type_export_one_dairu = "export_one_dairu";
        public final static String ftp_export_type_export_one_tichu = "export_one_tichu";
        public final static String ftp_export_type_export_one_ruchu = "export_one_ruchu";
        public final static String ftp_export_type_export_one_zuofei = "export_one_zuofei";
        public final static String ftp_export_type_export_one_bohui = "export_one_bohui";
        public final static String ftp_export_type_export_all_asset = "export_all_asset";
        public final static String ftp_export_type_export_one_asset_chushihua = "export_one_asset_chushihua";
        public final static String ftp_export_type_export_one_asset_shixiao = "export_one_asset_shixiao";
        public final static String ftp_export_type_export_one_asset_yuqi = "export_one_asset_yuqi";
        public final static String ftp_export_type_export_one_asset_zhihuanruchi = "export_one_asset_zhihuanruchi";
        public final static String ftp_export_type_export_one_asset_xunhuangoumai_assert = "export_one_asset_xunhuangoumai_assert";
        public final static String ftp_export_type_export_one_asset_xunhuangoumai = "export_one_asset_xunhuangoumai";
        public final static String ftp_export_type_export_one_asset_huankuan = "export_one_asset_huankuan";
        public final static String ftp_export_type_export_one_asset_zhihuan_cycle = "export_one_asset_zhihuan_cycle";
        public final static String ftp_export_type_export_one_asset_xunhuangoumai_cycle = "export_one_asset_xunhuangoumai_cycle";

    }

    public static class P2PBusiness {
        //任务总览表状态 0 待处理 1 处理中 2 完成 3 删除
        public final static int task_overview_status_preHandle = 0;
        public final static int task_overview_status_Handling = 1;
        public final static int task_overview_status_success = 2;
        public final static int task_overview_status_delete = 3;

        //任务总览表  业务类型 1打标捞数 2回传 3作废 4赎回 5赎回前筛选 6文件赎回 7还款汇总 8借款汇总 9来分期数据清洗 10趣店数据清洗
        public final static int task_overview_business_type_laoshu = 1;
        public final static int task_overview_business_type_chuli = 2;
        public final static int task_overview_business_type_zuofei = 3;
        public final static int task_overview_business_type_shuhui = 4;
        public final static int task_overview_business_type_shuhuiqianshaixuan = 5;
        public final static int task_overview_business_type_fileRedeem = 6;
        public final static int task_overview_business_type_repayCount = 7;
        public final static int task_overview_business_type_loanCount = 8;
        public final static int task_overview_p2p_stock = 11;

        //##########9来分期数据清洗 10趣店数据清洗   已被占用,勿用!!!!!!!!!##########


        //任务总览表  任务类型  p2p  xiaodai baoli
        public final static String task_overview_type_p2p = "p2p";
        public final static String task_overview_type_xiaodai = "xiaodai";
        public final static String task_overview_type_baoli = "baoli";


        //任务日志表 操作业务类型 1 初始化  2 作废 3 回传 4 赎回 5上传 6文件赎回

        public final static int p2p_operatelog_operate_type_initialize = 1;
        public final static int p2p_operatelog_operate_type_delete = 2;
        public final static int p2p_operatelog_operate_type_back = 3;
        public final static int p2p_operatelog_operate_type_redeem = 4;
        public final static int p2p_operatelog_operate_type_upload = 5;
        public final static int p2p_operatelog_operate_type_redeemFile = 6;


        //任务日志表 状态 1 新建 2 处理中 3 成功 4 失败
        public final static int p2p_operatelog_status_new = 1;
        public final static int p2p_operatelog_status_Handling = 2;
        public final static int p2p_operatelog_status_success = 3;
        public final static int p2p_operatelog_status_failure = 4;

        //资产包表 状态 1 等待回传 2已回传 -1已作废 3捞取执行中 4回传执行中 5作废执行中 6捞取初始化 101回传异常
        public final static int p2p_bondrecord_status_waitback = 1;
        public final static int p2p_bondrecord_status_backed = 2;
        public final static int p2p_bondrecord_status_delete = -1;
        public final static int p2p_bondrecord_status_getting = 3;
        public final static int p2p_bondrecord_status_backing = 4;
        public final static int p2p_bondrecord_status_deleting = 5;
        public final static int p2p_bondrecord_status_init = 6;
        public final static int p2p_bondrecord_status_back_exception = 101;

        //分期类型 默认值
        public final static String p2p_bondrecord_fenqi_type_default = "shengyu";

        //首付等于利润 默认值
        public final static String p2p_bondrecord_fee_pay1_default = "no";
        //账单付款处理地区，-1全国，0北京，1天津
        public final static int p2p_bondrecord_pay_area_all = -1;
        public final static int p2p_bondrecord_pay_beijing = 0;
        public final static int p2p_bondrecord_pay_tianjin = 1;

        //资产包条件参数常量
        //是否最后账单日小于等于毕业日期 0 未选中 1 选中
        public final static String p2p_conditions_smallthan_graduatetime_false = "0";
        public final static String p2p_conditions_smallthan_graduatetime_true = "1";
        //首期是否已还款  0 未选中 1 选中
        public final static String p2p_conditions_firstdeadline_ispaid_false = "0";
        public final static String p2p_conditions_firstdeadline_ispaid_true = "1";
        //上期不能逾期  0 未选中 1 选中
        public final static String p2p_conditions_lastdeadline_ispaid_false = "0";
        public final static String p2p_conditions_lastdeadline_ispaid_true = "1";

        //状态  -1执行完成没有匹配记录 0新建  1执行中 2执行完毕
        public final static int p2p_conditions_status_zhixingwanchengwupipei = -1;
        public final static int p2p_conditions_status_xinjian = 0;
        public final static int p2p_conditions_status_zhixingzhong = 1;
        public final static int p2p_conditions_status_zhixingwanbi = 2;

        //P2P还款日类型
        public final static String p2p_bondrecord_repayDay = "按订单还款日";
        public final static String p2p_bondrecord_p2p = "按p2p借款日";


        //p2p订单列表 状态 1:正常，2:使用，9：删除 ，3:赎回 4预赎回
        public final static int p2p_bond_order_list_status_normal = 1;
        public final static int p2p_bond_order_list_status_using = 2;
        public final static int p2p_bond_order_list_status_delete = 9;
        public final static int p2p_bond_order_list_status_redeem = 3;
        public final static int p2p_bond_order_list_status_expected_redeem = 4;
        //p2p账单 状态 1:回传后状态,2:赎回 3 预赎回 4 正常
        public final static int p2p_repay_steps_status_normal = 1;
        public final static int p2p_repay_steps_status_redeem = 2;
        public final static int p2p_repay_steps_status_preredeem = 3;
        public final static int p2p_repay_steps_status_get = 4;

        //p2p平台表 是否生成账单维度csv 0:生成 1  不生成
        public final static int p2p_platform_iszip_need = 0;
        public final static int p2p_platform_iszip_notneed = 1;
        //是否赎回：0，是，1否
        public final static int p2p_isredeem_yes = 0;
        public final static int p2p_isredeem_no = 1;
        //赎回类型  1 按包/平台  2 按文件 3赎回前筛选',
        public final static int p2p_redeemType_packageOrPlatform = 1;
        public final static int p2p_redeemType_file = 2;
        public final static int p2p_redeemType_before = 3;
        //状态  0 初始 1执行中 2执行完毕 3 异常
        public final static int p2p_redeem_status_init = 0;
        public final static int p2p_redeem_status_executing = 1;
        public final static int p2p_redeem_status_complete = 2;
        public final static int p2p_redeem_status_exception = 3;

        //abs_p2p_redeem_order状态  0 等待筛选 1筛选中 2筛选完成 3 退回平台处理中 4已退回平台',
        public final static int p2p_redeem_order_status_init = 0;
        public final static int p2p_redeem_order_status_executing = 1;
        public final static int p2p_redeem_order_status_complete = 2;
        public final static int p2p_redeem_order_status_backing = 3;
        public final static int p2p_redeem_order_status_returned = 4;

        //状态 (0:新建1.执行中2.成功3.失败)',
        public final static int p2p_repay_detail_status_init = 0;
        public final static int p2p_repay_detail_status_executing = 1;
        public final static int p2p_repay_detail_status_complete = 2;
        public final static int p2p_repay_detail_status_backing = 3;


        /**
         * 有效状态
         */
        public final static int p2p_status_effective = 0;


    }

    public static class Timer {
        //worker职能： master  worker
        public final static String task_worker_list_position_master = "master";
        public final static String task_worker_list_position_worker = "worker";
    }


}
